package com.b511.swpu.cementbackend.entity;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.hibernate.annotations.GenericGenerator;
import org.hibernate.validator.constraints.Range;

import javax.persistence.*;

@Entity
@Getter
@Setter
@Accessors(chain = true)
// 钻进情况 对应表 DR_DRILLING_SITUATION
public class DR_DrillingSituation extends BABaseEntity {
    @Id
    @GenericGenerator(name="drillSituationGenerator", strategy="uuid")
    @GeneratedValue(generator="drillSituationGenerator")
    private String DR_DrillingSituation_ID;

    @Basic
    @Column(name = "TOTALGASDEPTH")
    private Double totalGasDepth;

    @Basic
    @Column(name = "TOTALGASMAXVALUE")
    private Double totalGasMaxValue;

    @Basic
    @Column(name = "FLUIDDENSITY")
    private Double fluidDensity;

    @Basic
    @Column(name = "AFTERDRILLTOTALGAS")
    private Double afterDrillTotalGas;

    @Basic
    @Column(name = "DRILLMAXDISPLACEMENT")
    private Double drillMaxDisplaceme;

    @Basic
    @Column(name = "AFTERDRILLDISPLACEMENT")
    private Double afterDrillDisplacement;

    @Basic
    @Column(name = "DRILLPIPEAV")
    private Double drillPipeAV;

    @Basic
    @Column(name = "DRILLCOLLARAV")
    private Double drillCollarAV;

    @ManyToOne
    @JoinColumn(name="ba_well_id")
    private BA_Well well;

}
